package com.mida.bms.report.mapper;

import com.mida.bms.report.entity.DocStructDefinitionSpace;
import com.mida.bms.report.vo.DocStructDefinitionSpacePage;
import com.mida.bms.report.vo.DocStructDefinitionSpaceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DocStructDefinitionSpaceMapper {
    int deleteByPrimaryKey(Long stTempDefineSoid);

    int insert(DocStructDefinitionSpace record);

    int insertSelective(DocStructDefinitionSpace record);

    DocStructDefinitionSpace selectByPrimaryKey(Long stTempDefineSoid);

    DocStructDefinitionSpaceVo selectByDefineSpaceSoid(Long stTempDefineSoid);

    int updateByPrimaryKeySelective(DocStructDefinitionSpace record);

    int updateByPrimaryKey(DocStructDefinitionSpace record);

    int countDefineSpaceName(String name);

    int findPageCount(DocStructDefinitionSpacePage page);

    List<DocStructDefinitionSpaceVo> findPage(DocStructDefinitionSpacePage page);

    List<DocStructDefinitionSpace> findAll(@Param("searchData") String searchData, @Param("hospitalSoid") Long hospitalSoid);

}